package com.wcity.manage.dao.model;

import com.wcity.manage.dao.dal.model.AbstractModel;

import java.util.Date;

/**
 * 访问登记
 * Created by chenkelong on 2017/7/18.
 */
public class VisitRegister extends AbstractModel {

    private int id;
    private String visitDate;       //访问时间
    private String visisName;       //访问姓名
    private String visitPhone;      //访问号码
    private String ownerName;       //业主姓名
    private String ownerRoomnum;    //业主房间号
    private Date createdate;        //创建时间
    private int userId;             //用户id
    private String visitReason;     //来访原因

    public VisitRegister(String visitDate, String visisName, String visitPhone, String ownerName, String ownerRoomnum,  int userId,String visitReason) {
        this.visitDate = visitDate;
        this.visisName = visisName;
        this.visitPhone = visitPhone;
        this.ownerName = ownerName;
        this.ownerRoomnum = ownerRoomnum;
        this.userId = userId;
        this.visitReason = visitReason;
    }
    public VisitRegister(){}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(String visitDate) {
        this.visitDate = visitDate;
    }

    public String getVisisName() {
        return visisName;
    }

    public void setVisisName(String visisName) {
        this.visisName = visisName;
    }

    public String getVisitPhone() {
        return visitPhone;
    }

    public void setVisitPhone(String visitPhone) {
        this.visitPhone = visitPhone;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerRoomnum() {
        return ownerRoomnum;
    }

    public void setOwnerRoomnum(String ownerRoomnum) {
        this.ownerRoomnum = ownerRoomnum;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getVisitReason() {
        return visitReason;
    }

    public void setVisitReason(String visitReason) {
        this.visitReason = visitReason;
    }
}
